package com.term.service.impl;

import com.term.service.IRoleService;
import com.term.dao.IRoleDao;
import com.term.domain.Role;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * Created by chenGang on 2017/1/14.
 */
@Service(value = "roleService")
public class RoleServiceImpl extends BaseServiceImpl<Role> implements IRoleService {

    private IRoleDao roleDao;

    @Resource
    public void setRoleDao(IRoleDao roleDao) {
        this.roleDao = roleDao;
        setBaseDao(roleDao);
    }
}
